<template>
  <div class="child">
      <h2>子组件</h2>
      <GrandChild v-bind="$attrs" />
  </div>
</template>

<script setup lang="ts">
import GrandChild from './GrandChild.vue'
</script>

<style scoped>
.child {
  padding: 10px;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
  background-color: skyblue;
  border-radius: 10px;
}
</style>